Vue.component("read-list", {
    template: `
      <!-- 这个是read-list -->
            <div class="read-list">
                <ul class="read-ul">
                    <li v-for="item in latest_stories" v-on:click="$emit('story_dianji',item.id)">
                        <div class="left">
                            <h3>{{item.title}}</h3>
                            <p>{{item.hint}}</p>
                        </div>
                        <div class="right">
                            <img v-bind:src="item.images[0]">
                        </div>
                    </li>
                </ul>
            </div>
    `,
    data() {
        return {

        }
    },
    props: ['latest_stories','id']
    ,
})